﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Customers.aspx.cs" Inherits="Customers" %>

<%@ Register assembly="DevExpress.Web.ASPxGridView.v8.3, Version=8.3.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dxwgv" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v8.3, Version=8.3.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dxe" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>WIP - WorkLog</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <span style="text-align:right;"><asp:LoginName ID="LoginName1" runat="server" />&nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt;&nbsp;&nbsp;<asp:LoginStatus ID="LoginStatus1" runat="server" /></span><br /><a href="../appsMenu.aspx">[APPS]</a>&nbsp;&nbsp;&gt;&nbsp;&nbsp;[COMMON]<br />
        <br />
        <div style="text-align:center; background-color:#0066CC; border: 1px solid #000080; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-large; font-weight: bold;">CUSTOMERS</div>
        <asp:GridView ID="GridView1" runat="server" AllowSorting="True" 
            AutoGenerateColumns="False" DataKeyNames="CustomerId" 
            DataSourceID="adsCustomers" Width="191px">
            <Columns>
                <asp:BoundField DataField="CustomerId" HeaderText="CustomerId" ReadOnly="True" 
                    SortExpression="CustomerId" />
                <asp:BoundField DataField="FullName" HeaderText="FullName" 
                    SortExpression="FullName" />
                <asp:BoundField DataField="Status" HeaderText="Status" 
                    SortExpression="Status" />
                <asp:BoundField DataField="StatusChanged" HeaderText="StatusChanged" 
                    SortExpression="StatusChanged" />
                <asp:BoundField DataField="StatusNote" HeaderText="StatusNote" 
                    SortExpression="StatusNote" />
            </Columns>
        </asp:GridView>
        <br />
    
    </div>
    <asp:AccessDataSource ID="adsCustomers" runat="server" 
        DataFile="~/App_Data/dbCoge.mdb" 
        
        SelectCommand="SELECT [CustomerId], [FullName], [Status], [StatusChanged], [StatusNote] FROM [Customers]" OldValuesParameterFormatString="original_{0}"
    >
        
    </asp:AccessDataSource>
    </form>
</body>
</html>

